package com.miyu.client1.service.book;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;

import java.io.IOException;
import java.util.concurrent.ExecutionException;

public interface bookService {
    public JSONArray searchBook(JSONObject ob);

    JSONObject queryBookList(String bookCode, String ddxs) throws IOException, Exception;

    JSONObject readText(String ddxs, String bookCode, String chapterCod);

    String downloadBook(String bookCode, String bookName) throws Exception;

    JSONArray queryBookRuleList();

    JSONObject saveOrupdate(JSONObject param);
}
